package com.yejiali.backend.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author:yejiali
 * @Date:2025/7/22-07-22-15:50
 * @Decsription:com.yejiali.backend.entity.dto
 * @Version:1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VideoDetailDTO {
    private Long videoId;
    //发布者id
    private Long uploaderId;
    //标题
    private String title;
    //文字描述
    private String description;
    //播放URL地址
    private String playUrl;
    //分区
    private String tags;
    //播放量
    private Long viewCount;
    //点赞数
    private Long likeCount;
    //投币数
    private Long coinCount;
    //收藏数
    private Long collectCount;
    //转发数
    private Long shareCount;
    //发布时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date publishTime;
    //我是否点赞
    private Boolean isLike;
}
